package org.springblade.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @author LK
 * @version 1.0.0
 * @Title: InvoiceImage.java
 * @Description: TODO	发票图片
 * @date 2020/4/15 10:45
 */
@Data
@TableName("blade_oa_invoice_image")
@EqualsAndHashCode(callSuper = true)
public class InvoiceImage extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "主键id")
	private Integer id;

	@ApiModelProperty(value = "源文件名称")
	private String originalName;

	@ApiModelProperty(value = "储存名称")
	private String name;

	@ApiModelProperty(value = "大小")
	private Integer imageSize;

	@ApiModelProperty(value = "类型")
	private String type;

	@ApiModelProperty(value = "存储路径")
	private String path;

	@ApiModelProperty(value = "报销单id")
	private String bxId;

	@ApiModelProperty(value = "模块类型（1:报销，2:福利）")
	private String modelType;
}
